package com.indusfo.spc.mapper;

import com.indusfo.spc.pojo.Basis;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ProjectName: jpa05
 * @Package: com.indusfo.spc.mapper
 * @ClassName: BasisMapper
 * @Author: 熊冰
 * @Description:
 * @Date: 2019/9/25 9:15
 * @Version: 1.0
 */
public interface BasisMapper {

	int deleteBasis(@Param("lBasisIds") List<Integer> lBasisIds, @Param("lDataState") Integer lDataState);
	int updateBasisByBasisIdForNullTime(Basis basis);
	List<Basis> listBasissForPage(Basis basis);
	int countBasis(Basis basis);
	int countParamsNotRepeat(Basis basis);
	List<Basis> queryBasisByMatId(Basis basis);
	int deleteBasisList(@Param("matids") List<Integer> matids, @Param("lProVer") Integer lProVer);

	int updateByPrimaryKeySelective(Basis basis);

	int insertSelective(Basis basis);
}